<template>
  <div id="app" style="width:100%;" @mousemove="pf">
   <hometop></hometop>
	<div style="width:100%;float:left;" >
		<router-view/>
	</div>


    <homebtn></homebtn>
  </div>
</template>
<script>
import hometop from '@/components/home_top.vue'
import homebtn from '@/components/home_btn.vue'
export default {
  components: {hometop,homebtn},//声明子组件
    methods:{
      pf(){
          this.$store.state.indexshow = false;
      }
    },
  mounted(){
	  this.$router.push({path:'/'})
  }
}
</script>
<style lang="scss">
	.btna{
		width:100%;
		height:40px;
		line-height:40px;
		background:rgba(153,153,153,1);
		opacity:1;
		font-size:16px;
		font-family:Source Han Sans CN;
		font-weight:500;
		color:rgba(255,255,255,1);
		opacity:1;
		text-align: center;
		float:left;
	}
	
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
*:hover{
		cursor: pointer;
	}
#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
